package com.lancoo.ccas52.pojo.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import java.io.Serializable;

/**
 * @ClassName CourseApplyInput
 * @Description 添加、修改课程申请
 * @Author quin
 * @Date 2023/1/5 11:20
 */
@Data
public class CourseApplyInput implements Serializable {


    @ApiModelProperty(value = "课程id",required = true)
    private Long courseId;

    @Min(value = 0,message = "讲授学时不能小于0")
    @ApiModelProperty(value = "讲授学时",required = false)
    private Integer lectureHour;

    @Min(value = 0,message = "实验学时不能小于0")
    @ApiModelProperty(value = "实验学时",required = false)
    private Integer experimentalHour;

    @Min(value = 0,message = "上机学时不能小于0")
    @ApiModelProperty(value = "上机学时",required = false)
    private Integer computerHour;

    @Min(value = 0,message = "其他学时不能小于0")
    @ApiModelProperty(value = "其他学时",required = false)
    private Integer otherHour;

    @ApiModelProperty(value = "课程备注",required = true)
    private String description;

    @ApiModelProperty(value = "操作类型 1增开 2修改 3删除 4撤回",required = true)
    private Integer operationType;

}
